# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=faad2
pkgver=2.8.8
pkgrel=1
pkgdesc="ISO AAC audio decoder"
arch=('x86_64')
url="http://faac.sourceforge.net/"
license=('GPL')
depends=('glibc')
options=('!makeflags')
source=(https://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.gz)
sha256sums=('985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
